<?php
include "movie_data.php";

function getTitleStringFrom($date) {
  return substr($date,0,4)."년 ".substr($date,4,2)."월 ".substr($date,6,2)."일";
}

global $timeDataList;
$timeDataList = array();
foreach($movieDataList as $movieData) {
	if(!isset($timeDataList[$movieData->date])) $timeDataList[$movieData->date] = array();
	$timeDataList[$movieData->date][] = $movieData;
}

?>